/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package biofilter.util;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author qvh
 */
public class ProcessUtilTest {

    public ProcessUtilTest() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }

    @Before
    public void setUp() {
    }

    @After
    public void tearDown() {
    }

    /**
     * Test of getProcessID method, of class ProcessUtil.
     */
    @Test
    public void testGetProcessID() throws Exception {
        System.out.println("getProcessID");
        ProcessUtil instance = new ProcessUtil();
        String result = instance.getProcessID();
        //System.err.println(result);
        boolean isDigit = result.matches("\\d+");
        assertEquals(true, isDigit);
    }


}